<div id="login-form" class="stackContent">
  <% if(user.anonymous) { %>

    <%- form %>

  <% }  else { %>

    <h2><%- t("{name} Profile",{name:user.username}) %></h2>
    <% if(user) { %>
      <a href="/user"><%- user.username %></a>
      <span class="link-divider">|</span>
      <a href="/user/logout">Logout</a>
    <% } %>

  <% } %>
</div>